package com.aggregate.pay.yufu.cpos;

import com.aggregate.pay.yufu.cpos.support.AbstractClient;
import com.aggregate.pay.yufu.cpos.support.client.IndividualMerchantAdd;
import com.aggregate.pay.yufu.cpos.support.client.QueryMerchant;
import com.aggregate.pay.yufu.cpos.support.client.UploadsMerchant;

/**
 * 御付（民生）进件－接口类型
 * @author Moyq5
 * @date 2017年9月4日
 */
public enum YufuCposApiType {
	/**
	 * 进件接口（个人版）：IndividualMerchantAdd
	 */
	INDIVIDUAL_MERCHANT_ADD(IndividualMerchantAdd.class),
	/**
	 * 进件接口（完整版）：UploadsMerchant
	 */
	UPLOADS_MERCHANT(UploadsMerchant.class),
	/**
	 * 商户查询：QueryMerchant
	 */
	QUERY_MERCHANT(QueryMerchant.class);
	
	private Class<? extends AbstractClient<?,?>> clientClass;
	
	YufuCposApiType(Class<? extends AbstractClient<?,?>> clientClass) {
		this.clientClass = clientClass;
	}

	public Class<? extends AbstractClient<?,?>> getClientClass() {
		return clientClass;
	}

}
